package cn.edu.nuaa.mapper;

import cn.edu.nuaa.model.Resource;

import java.util.List;

public interface ResourceMapper {
    List<Resource> selectResourceByMd5(String md5);

    void insertResource(Resource resource);

    List<Resource> selectAll();

    Resource selectResourceByName(String name);
}
